package com.leen.video.service.impl;

import com.leen.video.entity.LocalStorage;
import com.leen.video.repository.LocalStorageRepository;
import com.leen.video.service.LocalStorageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LocalStorageServiceImpl extends CurdServiceImpl<LocalStorage,Long> implements LocalStorageService {

    private LocalStorageRepository localStorageRepository;


    @Autowired
    public void setLocalStorageRepository(LocalStorageRepository localStorageRepository){
        this.localStorageRepository = localStorageRepository;
        //给父类赋值
        super.setCrudRepository(localStorageRepository);
    }
}
